<%= form_for(@venta_caja) do |f| %>
  <% if @venta_caja.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@venta_caja.errors.count, "error") %> prohibited this venta_caja from being saved:</h2>

      <ul>
      <% @venta_caja.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :id_caja %><br />
    <%= f.text_field :id_caja %>
  </div>
  <div class="field">
    <%= f.label :id_tienda %><br />
    <%= f.text_field :id_tienda %>
  </div>
  <div class="field">
    <%= f.label :num_cajas %><br />
    <%= f.text_field :num_cajas %>
  </div>
  <div class="field">
    <%= f.label :saldo_inicial %><br />
    <%= f.text_field :saldo_inicial %>
  </div>
  <div class="field">
    <%= f.label :total_cobros %><br />
    <%= f.text_field :total_cobros %>
  </div>
  <div class="field">
    <%= f.label :total_vueltos %><br />
    <%= f.text_field :total_vueltos %>
  </div>
  <div class="field">
    <%= f.label :estado %><br />
    <%= f.text_field :estado %>
  </div>
  <div class="field">
    <%= f.label :saldo_final %><br />
    <%= f.text_field :saldo_final %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
